import request from '@/utils/request'

export function getMenuList () {
  return request({
    // url: '/v1/system-application-web/list',
    url: '/v1/resource/list',
    method: 'get',
    params:{
      appId: null
    }
  })
}

export function menuDetail (id: string) {
  return request({
    url: `/v1/system-application-web/getById`,
    method: 'get',
    params:{
      id
    }
  })
}